doc: TextLayout: Add missing (out) annotations
authorDaniel Boles <dboles@src.gnome.org>
Tue, 21 Nov 2017 10:52:35 +0000 (10:52 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Wed, 22 Nov 2017 20:48:02 +0000 (20:48 +0000)
and move from (allow-none) to (optional)

gtk/gtktextlayout.c

index 9bd55829ae16b09a04dc5249b8efb3b9bacfcc4d..31dbff6343d016486141b95255696b724266a40a 100644 (file)
@@ -2828,8 +2828,8 @@ gtk_text_layout_get_iter_at_position (GtkTextLayout *layout,
  * gtk_text_layout_get_cursor_locations:
  * @layout: a #GtkTextLayout
  * @iter: a #GtkTextIter
- * @strong_pos: (allow-none): location to store the strong cursor position (may be %NULL)
- * @weak_pos: (allow-none): location to store the weak cursor position (may be %NULL)
+ * @strong_pos: (out) (optional): location to store the strong cursor position, or %NULL
+ * @weak_pos: (out) (optional): location to store the weak cursor position, or %NULL
  *
  * Given an iterator within a text layout, determine the positions of the
  * strong and weak cursors if the insertion point is at that